//
//  PKDrawingColorOrLineView.h
//  PDFKitTest
//
//  Created by Emo, on 2024/1/29.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef enum : NSUInteger {
    PKDrawingSelectTypeColor,
    PKDrawingSelectTypeLine,
}PKDrawingSelectType;


@protocol PKDrawingColorOrLineDelegate <NSObject>

- (void)colorOrLineWithType:(PKDrawingSelectType)type value:(NSString *)value;

@end

@interface PKDrawingColorOrLineView : UIView

- (instancetype)initWithFrame:(CGRect)frame type:(PKDrawingSelectType)type;

@property (nonatomic, weak) id<PKDrawingColorOrLineDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
